package com.lframework.xingyun.promo.service.fulldiscount;

import com.lframework.starter.web.core.service.BaseMpService;
import com.lframework.starter.web.core.components.resp.PageResult;
import com.lframework.xingyun.promo.entity.MarketingFulldiscount;
import com.lframework.xingyun.promo.vo.fulldiscount.CreateMarketingFulldiscountVo;
import com.lframework.xingyun.promo.vo.fulldiscount.QueryMarketingFulldiscountVo;
import com.lframework.xingyun.promo.vo.fulldiscount.UpdateMarketingFulldiscountVo;

import java.util.List;

/**
 * 限时满折活动表 Service
 */
public interface MarketingFulldiscountService extends BaseMpService<MarketingFulldiscount> {

    /**
     * 查询列表
     * @return
     */
    PageResult<MarketingFulldiscount> queryPage(Integer pageIndex, Integer pageSize, QueryMarketingFulldiscountVo vo);

    /**
     * 查询列表
     * @param vo
     * @return
     */
    List<MarketingFulldiscount> queryList(QueryMarketingFulldiscountVo vo);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    MarketingFulldiscount findById(String id);

    /**
     * 创建
     * @param vo
     * @return
     */
    String create(CreateMarketingFulldiscountVo vo);

    /**
     * 修改
     * @param vo
     */
    void update(UpdateMarketingFulldiscountVo vo);

}

